<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk">

<f:view>
<f:loadBundle var="text" basename="#{chfxList.bundleName}"/>
    <head>
        <title>#{text['chfxList.title']}</title>
        <meta name="heading" content="#{text['chfxList.heading']}"/>
        <meta name="menu" content="ChfxMenu"/>
    </head>
<body id="chfxList">
<h:form id="editChfx">

<h:commandButton value="#{text['button.add']}" action="add" id="add" immediate="true" styleClass="button"/>
<h:commandButton value="#{text['button.done']}" action="mainMenu" id="cancel" immediate="true" styleClass="button" style="margin-left: 5px"/>

<t:dataTable id="chfxs" var="chfx" style="margin-top: 10px"
    value="#{chfxList.chfxs}" rows="25" sortColumn="#{chfxList.sortColumn}"
    sortAscending="#{chfxList.ascending}" styleClass="scrollerTable table"
    headerClass="standardTable_Header" rowClasses="standardTable_Row1,standardTable_Row2"
    columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_ColumnCentered">
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="bzq" arrow="true">
                <h:outputText value="#{text['chfx.bzq']}" />
            </t:commandSortHeader>
        </f:facet>
         <h:commandLink action="#{chfxForm.edit}" value="#{chfx.bzq}">
            <f:param name="chfxid" value="#{chfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="chcb" arrow="true">
                <h:outputText value="#{text['chfx.chcb']}" />
            </t:commandSortHeader>
        </f:facet>
          <h:commandLink action="#{chfxForm.edit}" value="#{chfx.chcb}">
            <f:param name="chfxid" value="#{chfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="chmc" arrow="true">
                <h:outputText value="#{text['chfx.chmc']}" />
            </t:commandSortHeader>
        </f:facet>
        <h:commandLink action="#{chfxForm.edit}" value="#{chfx.chmc}">
            <f:param name="chfxid" value="#{chfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="chrksj" arrow="true">
                <h:outputText value="#{text['chfx.chrksj']}" />
            </t:commandSortHeader>
        </f:facet>
        <h:commandLink action="#{chfxForm.edit}" value="#{chfx.chrksj}">
            <f:param name="chfxid" value="#{chfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="sfjy" arrow="true">
                <h:outputText value="#{text['chfx.sfjy']}" />
            </t:commandSortHeader>
        </f:facet>
         <h:commandLink action="#{chfxForm.edit}" value="#{chfx.sfjy}">
            <f:param name="chfxid" value="#{chfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="sfzc" arrow="true">
                <h:outputText value="#{text['chfx.sfzc']}" />
            </t:commandSortHeader>
        </f:facet>
        <h:commandLink action="#{chfxForm.edit}" value="#{chfx.sfzc}">
            <f:param name="chfxid" value="#{chfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="sl" arrow="true">
                <h:outputText value="#{text['chfx.sl']}" />
            </t:commandSortHeader>
        </f:facet>
        <h:commandLink action="#{chfxForm.edit}" value="#{chfx.sl}">
            <f:param name="chfxid" value="#{chfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    
    <!-- 
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="id" arrow="true">
                <h:outputText value="#{text['chfx.id']}" />
            </t:commandSortHeader>
        </f:facet>
        <h:commandLink action="#{chfxForm.edit}" value="#{chfx.id}">
            <f:param name="id" value="#{chfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    
     <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="bz" arrow="true">
                <h:outputText value="#{text['chfx.bz']}" />
            </t:commandSortHeader>
        </f:facet>

    <h:outputText value="#{chfx.bz}" escape="true"/>
    </t:column>
    
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="jbqk" arrow="true">
                <h:outputText value="#{text['chfx.jbqk']}" />
            </t:commandSortHeader>
        </f:facet>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="operation" arrow="true">
                <h:outputText value="#{text['chfx.operation']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{chfx.operation}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="optdate" arrow="true">
                <h:outputText value="#{text['chfx.optdate']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{chfx.optdate}" escape="true"/>
    </t:column>
    
     <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="username" arrow="true">
                <h:outputText value="#{text['chfx.username']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{chfx.username}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="version" arrow="true">
                <h:outputText value="#{text['chfx.version']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{chfx.version}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="xh" arrow="true">
                <h:outputText value="#{text['chfx.xh']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{chfx.xh}" escape="true"/>
    </t:column>
 -->
   
</t:dataTable>

<ui:include src="/common/tableFooter.xhtml">
    <ui:param name="tableName" value="chfxs"/>
</ui:include>

<script type="text/javascript">
    highlightTableRows("editChfx:chfxs");
</script>

</h:form>
</body>
</f:view>
</html> 